<?php

echo "获取cookie中的值:<br>";
$className = $_COOKIE["className"];
$major = $_COOKIE["major"];
echo "className=" . $className . "<br>";
echo "major=" . $major . "<br>";
